//
//  ViewController.m
//  LHPayAlertDemo
//
//  Created by LH on 16/9/26.
//  Copyright © 2016年 LH. All rights reserved.
//

#import "ViewController.h"
#import "LHPayAlert.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UILabel *passWTF;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

}

- (IBAction)payBut:(UIButton *)sender {
    LHPayAlert *lhpay=[[LHPayAlert alloc]init];
    lhpay.title = @"请输入支付密码";
    lhpay.detail = @"提现";
    lhpay.amount=10;
    [lhpay show];
    lhpay.completeHandle = ^(NSString *inputPwd) {
        NSLog(@"密码是%@",inputPwd);
        self.passWTF.text=inputPwd;
    };
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
